package com.googlecode.openauth.web.dao;

import java.util.List;

import org.apache.ibatis.session.RowBounds;

import com.googlecode.openauth.web.entity.RoleAction;

public interface IRoleActionDao {
	
	public void addRoleAction(RoleAction roleAction);
	public void updateRoleAction(RoleAction roleAction);
	public void delRoleActionByRoleId(int roleId);
	public void delRoleActionByActionId(int actionId);
	public List<RoleAction> getRoleActionByRoleId(int roleId);
	public void insertBatch(List<RoleAction> roleActionList);
	public List<RoleAction> searchRoleActions(RoleAction roleActio, RowBounds rowBounds);
}
